﻿@model AbilityStandardDto
@{
    var x = @Html.EasyUi();
}
@section head {
    <script type="text/javascript">
        $(function () {
            $.easyui.deleteUrl = "/educations/abilityStandard/delete";
        });
    </script>
}
@section top {
    @*工具栏*@
    <div class="toolbar">
        @x.DialogButton( "添加能力标准", "/educations/abilityStandard/add" ).Icon( "icon-add" ).Plain()
        @x.DialogButton( "编辑能力标准", "/educations/abilityStandard/edit" ).Id( "btnEdit" ).Icon( "icon-edit" ).Plain().ShowEditDialog()
        @x.Button( "删除能力标准" ).Icon( "icon-delete" ).Plain().Delete()
        @x.DialogButton( "查看详细", "/educations/abilityStandard/detail" ).Id( "btnLook" ).Icon( "icon-look" ).Plain().ShowDetailDialog()
        @x.Button( "刷 新" ).Icon( "icon-refresh" ).Plain().Refresh()
    </div>
}
@section content {
    @*右键菜单*@
    @Html.Partial( "Menus/FormMenu" )
    @*查询表单*@
    @Html.Partial( "Parts/QueryForm" )
    @*表格*@
    @(x.Grid( "grid" ).Sort( "CreationTime" ).Toolbar( "divQuery" ).Url( "/educations/AbilityStandard/PagerQuery" )
        .ShowEditDialogByDblClick().Menu().FitColumns().Fit()
        .Columns(
            x.GridColumn( t => t.Id ).CheckBox(),
            x.GridColumn( t => t.AbilityTypeId,100 ),
            x.GridColumn( t => t.Grade,100 ),
            x.GridColumn( t => t.AbilityValue,100 ),
            x.GridColumn( t => t.CreationTime,120 )
        )
    )
}